package ModelLayer;


/**
 * Write a description of class Goods here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Supplier
{
    // instance variables - replace the example below with your own
    private String companyname;
    private String city;
    private String address;
    private int postalcode;
    private int eanr;
    
    public Supplier(String companyname, String city, String address, int postalcode, int eanr)
    {
        this.companyname = companyname;
        this.city = city;
        this.address = address;
        this.postalcode = postalcode;
        this.eanr = eanr;
    }
    
    
    public String getCompanyName()
    {
        return companyname;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public int getPostalCode()
    {
        return postalcode;
    }
    
    public int getEaNr()
    {
        return eanr;
    }
    
    public void setCompanyName(String companyName)
    {
        this.companyname = companyName;
    }
    
    public void setCity(String city)
    {
        this.city = city;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setPostalCode(int postalcode)
    {
        this.postalcode = postalcode;
    }
    
    public void setEaNr(int eanr)
    {
        this.eanr = eanr;
    }
}
